package com.baosight.risk.service.fltd.impl;

import com.baosight.risk.api.fltd.FlaaFlowCheckService;
import com.baosight.risk.base.service.BaseServiceImpl;
import com.baosight.risk.mapper.fltd.FlaaFlowCheckMapper;
import com.baosight.risk.service.fltd.entity.FlaaFlowCheck;
import com.baosight.risk.service.fltd.vo.FlaaFlowCheckVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 作者： lishaoqing
 * 时间： 2019年08月05日
 * 描述： FlaaFlowCheckServiceImpl
 * 版本: v1.0
 */
@Service
public class FlaaFlowCheckServiceImpl extends BaseServiceImpl<FlaaFlowCheck> implements FlaaFlowCheckService {

    @Autowired
    private FlaaFlowCheckMapper flaaFlowCheckMapper;

    @Override
    public List<FlaaFlowCheckVO> selectFlowCheck(String flowNo, String nodeCode) {
        return flaaFlowCheckMapper.selectFlowCheck(flowNo, nodeCode);
    }

    @Override
    public Integer deleteFlowCheck(String flowNo, String nodeCode) {
        return flaaFlowCheckMapper.deleteFlowCheck(flowNo, nodeCode);
    }

}
